import time
from initial_work import start_service, close_service
from connect_srv import server

start_service()
time.sleep(5)
# TODO condition for example:
condition = "ClassName:CabinetWClass&ControlType:Window&Name:Scripts/ClassName:CabinetWClass&ControlType:Window&Name:Scripts"
server.action_invoke(condition)
time.sleep(2)
close_service()
